module Dispatcher(int ?credit, event bool !gum) { loop { if(credit >= 15) emit (gum); pause; } }